package com.halflife.comeElectricity.orderMng.order;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.halflife.framework.domain.BaseDomain;

import java.math.BigDecimal;

/**
 * Created by zhaoyf on 2018/2/12.
 */
public class OrderExt extends BaseDomain {
    private Integer id;
    @JsonSerialize(using= CustomSerialize.class)
    private String startPlace;//起步地
    @JsonSerialize(using= CustomSerialize.class)
    private String destination;//目的地
    private String extractService;//额外服务
    private String toDriver;//给司机捎话
    private String memo;//备注

    private BigDecimal amount;//订单金额
    private BigDecimal commition;//佣金
    private BigDecimal perPrice;//单价
    private BigDecimal fee;//小费
    private BigDecimal distance;//距离
    private BigDecimal startingPrice;//起步价
    private BigDecimal startingDistance;//起步距离

    private Long rideTime;//骑手接单时间
    private Long endTime;//结束时间
    private Long startOffTime;//出发时间
    private Byte score;//分数
    private String adminMemo;
    private String payType;
    public OrderExt(){}

    @Override
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStartPlace() {
        return startPlace;
    }

    public void setStartPlace(String startPlace) {
        this.startPlace = startPlace;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public String getExtractService() {
        return extractService;
    }

    public void setExtractService(String extractService) {
        this.extractService = extractService;
    }

    public String getToDriver() {
        return toDriver;
    }

    public void setToDriver(String toDriver) {
        this.toDriver = toDriver;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getCommition() {
        return commition;
    }

    public void setCommition(BigDecimal commition) {
        this.commition = commition;
    }

    public BigDecimal getPerPrice() {
        return perPrice;
    }

    public void setPerPrice(BigDecimal perPrice) {
        this.perPrice = perPrice;
    }

    public BigDecimal getFee() {
        return fee;
    }

    public void setFee(BigDecimal fee) {
        this.fee = fee;
    }

    public BigDecimal getDistance() {
        return distance;
    }

    public void setDistance(BigDecimal distance) {
        this.distance = distance;
    }

    public BigDecimal getStartingPrice() {
        return startingPrice;
    }

    public void setStartingPrice(BigDecimal startingPrice) {
        this.startingPrice = startingPrice;
    }

    public BigDecimal getStartingDistance() {
        return startingDistance;
    }

    public void setStartingDistance(BigDecimal startingDistance) {
        this.startingDistance = startingDistance;
    }

    public Long getRideTime() {
        return rideTime;
    }

    public void setRideTime(Long rideTime) {
        this.rideTime = rideTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Byte getScore() {
        return score;
    }

    public void setScore(Byte score) {
        this.score = score;
    }

    public String getAdminMemo() {
        return adminMemo;
    }

    public void setAdminMemo(String adminMemo) {
        this.adminMemo = adminMemo;
    }

    public Long getStartOffTime() {
        return startOffTime;
    }

    public void setStartOffTime(Long startOffTime) {
        this.startOffTime = startOffTime;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }
}
